<?php

require_once 'Pipes/FileSystem/Generic/Finder.php';
require_once 'PipesImpl/FileSystem/ModelMeta/Finder.php';

class Pipes_FileSystem_ModelMeta_Finder implements PipesImpl_FileSystem_ModelMeta_Finder
{
	private $_finder = null;

	public function __construct(PipesImpl_Config $config) {
		$this->_finder = new Pipes_FileSystem_Generic_Finder($config);
	}

	public function find($name) {
		$className = "Models_Metas_{$name}Meta";
		return $this->_finder->find($className);
	}

	public function __get($key) {
		return $this->_finder->$key;
	}
}
